package com.zjweu.hkg;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.zjweu.hkg.DAO")  // 扫描 Mapper 接口

@EnableScheduling // 开启定时任务
public class HkgSpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(HkgSpringBootApplication.class,args);
        String s="HKG启动成功!\n╭╮╭╮   ╭╮╭╮   ╭──╮\n" +
                "││││   │╰╯│   │╭─╯\n" +
                "│╰╯│   │　╭╯  ││╭╮\n" +
                "│╭╮│   │　╰╮  ││││\n" +
                "││││   │╭╮│   │╰╯│\n" +
                "╰╯╰╯   ╰╯╰╯   ╰──╯©Powered By GGDog 2024-2025 | All Rights Reserved.";
        System.out.println("\u001B[32m"+s+"\u001B[0m");
    }
}
